Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODStorageUnit


IsWeakStorageUnitRef

The IsWeakStorageUnitRef method returns a Boolean value that indicates whether the specified persistent reference is a weak persistent reference.

ODBoolean IsWeakStorageUnitRef (in ODStorageUnitRef ref);
ref
The persistent reference to be tested (assumed to be valid).
return value
kODTrue if the specified reference is a weak persistent reference, otherwise kODFalse.
DISCUSSION
Before calling this method, you can call the IsValidStorageUnitRef method to check whether the specified persistent reference is valid.

EXCEPTIONS
kODErrUnfocusedStorageUnit
This storage unit is not focused on a value.
kODErrZeroRefCount
This storage unit has a reference count of 0.
SEE ALSO
The ODStorageUnitRef type (page 903).
The ODStorageUnit::GetWeakStorageUnitRef method (page 699).
The ODStorageUnit::IsStrongStorageUnitRef method (page 703).
The ODStorageUnit::IsValidStorageUnitRef method (page 704).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help